﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GrayParrot.Web.Controls
{
    /// <summary>
    /// 
    /// </summary>
    public class LengthChangeOptionsComparer : ComparerBase<OptionBase>
    {
        internal override bool CheckDuplicates(Type type)
        {
            return type.Equals(typeof(LengthMenu));
        }

        internal override bool AllowedTypes(Type type)
        {
            bool retValue = false;

            Type[] m_types = new Type[] { typeof(LengthMenu) };

            if (m_types.Contains(type)) retValue = true;

            return retValue;
        }
    }
}
